Inheritance diagram for XFcGLResourceSurface:


Public Member Functions | |
| virtual XFCIMPORT | ~XFcGLResourceSurface () |
| Destructor. | |
| virtual XFCIMPORT INT32 | lock (void **aBuffer, INT32 aMode=XFCGF_DEFAULT, INT32 aFlags=XFCGFX_DISCARDCONTENTS) |
| Locks the surface with specific mode. | |
| virtual XFCIMPORT void | unlock () |
| Unlocks the framebuffer. | |
Static Public Member Functions | |
| XFCIMPORT XFcGLResourceSurface * | create (const CHAR *aPictureFilename, INT32 aFormat=XFCGF_DEFAULT, INT32 aFlags=XFCRESOURCE_DEFAULT) |
| Creates a surface with dimensions and format. | |
Protected Member Functions | |
| XFcGLResourceSurface () | |
| Protected constructor. | |
Protected Attributes | |
| XFcGLSingleSurfaceResource * | mResource |
| Surface resource. | |
Friends | |
| class | XFcGLCoreSurface |
Extends XFcGLSurface so that the surface data itself is a resource, and may be deallocated by the resource manager whenever free memory is required. The surface data is re-created from file when needed. Please note that whatever changes done to the surface may be lost when the resource is removed from memory.
|
|
Destructor.
|
|
|
Protected constructor.
|
|
||||||||||||||||
|
Creates a surface with dimensions and format.
|
|
||||||||||||||||
|
Locks the surface with specific mode. Non-preferred modes will be converted on the fly, which is slow.
Reimplemented from XFcGLSurface. |
|
|
Unlocks the framebuffer. If the surface was locked in a non-native format and the locking did not specify the GFX_DISCARDCHANGES flag, the unlock will convert the temporary buffer into the surface's native format.
Reimplemented from XFcGLSurface. |
|
|
Reimplemented from XFcGLSurface. |
|
|
Surface resource.
|
![]() |
Confidential Copyright © 2002-2003 Fathammer | with doxygen by Dimitri van Heesch | ||